package com.sec.etech.ism.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ism_task_job")
public class IsmTaskJob implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId("job_id")
    private Long jobId;
    /**
     * 状态 0-初始 1-执行中 2-已完成 3-已失败
     */
    private Integer status;
    /**
     * 外部系统编码
     */
    @TableField("sys_code")
    private String sysCode;
    /**
     * 服务代码
     */
    @TableField("server_code")
    private String serverCode;
    /**
     * 业务代码-方便业务查询
     */
    @TableField("business_code")
    private String businessCode;
    /**
     * 业务关键信
     */
    @TableField("business_params")
    private String businessParams;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @TableField(value="created_time", fill = FieldFill.INSERT)
    private Date createdTime;
}
